package com.ynet.middleground.riskmanage.bean.rizhaogang;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liwq
 * @description 电子仓单转让指令请求信息
 * @date 2022-05-12 15:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "电子仓单转让指令请求信息", description = "电子仓单转让指令请求信息")
public class RzgTransferCommandReq extends BaseReqObj {

    private static final long serialVersionUID = 1246194518670046755L;

    @ApiModelProperty(value = " 系统标志(0:日照港; 1:青岛港前湾港; 2:烟台港;)", notes = " 系统标志(0:日照港; 1:青岛港前湾港; 2:烟台港;)",
        required = true)
    @NotBlank(message = "系统标志不能为空")
    private String chanType;

    @ApiModelProperty(value = "出让人(出让方)货键（在港货物ID）", notes = "出让人(出让方)货键（在港货物ID）", required = true)
    @NotBlank(message = "出让人(出让方)货键不能为空")
    private String cargokey;

    @ApiModelProperty(value = "出让人(出让方)作业委托人id", notes = "出让人(出让方)作业委托人id", required = true)
    @NotBlank(message = "出让人(出让方)作业委托人id不能为空")
    private String zywtrid;

    @ApiModelProperty(value = "出让人(出让方)作业委托人名称", notes = "出让人(出让方)作业委托人名称", required = true)
    @NotBlank(message = "出让人(出让方)作业委托人名称不能为空")
    private String zywtr;

    @ApiModelProperty(value = "出让人(出让方)名称", notes = "出让人(出让方)名称", required = true)
    @NotBlank(message = "出让人(出让方)名称不能为空")
    private String crr;

    @ApiModelProperty(value = "出让人(出让方)货主（日照港专用）", notes = "出让人(出让方)货主（日照港专用）")
    private String hqcyr;

    @ApiModelProperty(value = "受让人(受让方)合同号（日照港专用）", notes = "受让人(受让方)合同号（日照港专用）")
    private String hthin;

    @ApiModelProperty(value = "受让人(受让方)作业委托人", notes = "受让人(受让方)作业委托人", required = true)
    @NotBlank(message = "受让人(受让方)作业委托人不能为空")
    private String srr;

    @ApiModelProperty(value = "受让人(受让方)货主（日照港专用）", notes = "受让人(受让方)货主（日照港专用）")
    private String srrhz;

    @ApiModelProperty(value = "受让人(受让方)货键（日照港专用）", notes = "受让人(受让方)货键（日照港专用）")
    private String cargokeyin;

    @ApiModelProperty(value = "转出垛位（日照港专用）", notes = "转出垛位（日照港专用）")
    private String stackfrom;

    @ApiModelProperty(value = "转入垛位（日照港专用）", notes = "转入垛位（日照港专用）")
    private String stackto;

    @ApiModelProperty(value = "转货数量(日照港：吨；烟台港：3位小数,吨)", notes = "转货数量(日照港：吨；烟台港：3位小数,吨)", required = true)
    @NotBlank(message = "转货数量不能为空")
    private String zhshl;

    @ApiModelProperty(value = "转货日期(日照港：yyyy-MM-dd；烟台港：yyyy-MM-dd HH:mm:ss)", notes = "转货日期(日照港：yyyy-MM-dd；烟台港：yyyy-MM-dd HH:mm:ss)",
        required = true)
    @NotBlank(message = "转货日期不能为空")
    private String zhrq;

    @ApiModelProperty(value = "转货前包干费承担方（日照港专用）", notes = "转货前包干费承担方（日照港专用）")
    private String zhqbgfcdf;

    @ApiModelProperty(value = "转货后库场使用费承担方（日照港专用）", notes = "转货后库场使用费承担方（日照港专用）")
    private String zhhbgfcdf;

    @ApiModelProperty(value = "转货后库场使用费承担方（日照港专用）", notes = "转货后库场使用费承担方（日照港专用）")
    private String zhhkcsyfcdf;

    @ApiModelProperty(value = "出让人(出让方)ID（烟台港专用,统一社会信用代码）", notes = "出让人(出让方)ID（烟台港专用,统一社会信用代码）")
    private String crrid;

    @ApiModelProperty(value = "受让人(受让方)ID（烟台港专用,统一社会信用代码）", notes = "受让人(受让方)ID（烟台港专用,统一社会信用代码）")
    private String srrid;

    @ApiModelProperty(value = "受让人(受让方)名称（烟台港专用）", notes = "受让人(受让方)名称（烟台港专用）")
    private String srrmc;

    @ApiModelProperty(value = "受让人(受让方)作业委托人ID（烟台港专用,统一社会信用代码）", notes = "受让人(受让方)作业委托人ID（烟台港专用,统一社会信用代码）")
    private String srrzywtrid;

    @ApiModelProperty(value = "备注（烟台港专用）", notes = "备注（烟台港专用）")
    private String remark;

}
